Headers and footers of a data band

Each data band may have header and footer. Header will be shown before printing a data band, footer will be shown after all data records was printed. Here is an example of how the headers/footers working in case of simple report:

Let's look at more complex example using two data levels - master-detail:

As we can see the header is printed before all data-band records. Thus master data header is printed once at the begin of a report, detail data header is printed before each group of detail bands bolonging to the master data band. The footer is printed after all data records.

Using the FooterAfterEach property of the data band, we may override this behavior. Setting this property to True (you may also use context menu of the data band, "Footer after each row" item) will cause the footer to be printed after each data row. It may be useful in some cases when designing master-detail reports. The previous example with FooterAfterEach property of the master data set to True will looks this way: